Skip to content

Apply uncrustify 0.82.0 changes#382

Merged
naisila merged 1 commit intodevelopfrom
naisila/upgrade_uncrustify
Dec 11, 2025
Merged

Apply uncrustify 0.82.0 changes#382
naisila merged 1 commit intodevelopfrom
naisila/upgrade_uncrustify

Conversation

@naisila
Copy link
Copy Markdown
Contributor

@naisila naisila commented Dec 7, 2025

@naisila naisila force-pushed the naisila/upgrade_uncrustify branch from c5bc1a6 to e129d02 Compare December 8, 2025 17:41
Copy link
Copy Markdown

@eaydingol eaydingol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM,
uncurstify related changes w.r.to the linked documentation look good.

Test failures do not seem to be related to this PR (not related / failing in other PRs too).
@naisila, as you already looked into those, can you also add a comment here.

@naisila
Copy link
Copy Markdown
Contributor Author

naisila commented Dec 11, 2025

Thanks @eaydingol
Failures happen because of the known issue #377, and have been happening for some time.
Gonna merge this now as Uncrustify changes have nothing to do with the failures.

@naisila naisila merged commit c5a6bd7 into develop Dec 11, 2025
31 of 44 checks passed
naisila added a commit to citusdata/the-process that referenced this pull request Dec 11, 2025
Upgrades uncrustify to 0.82.0 (see below), downgrades pg versions since
we will bump versions in Citus _after_ we fix style images.

Getting the following error with uncrustify 0.68.1:
```
+ cmake ..
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
```
Fix:
0.78.0 is the oldest version with cmake_minimum_required(VERSION 3.5).
However, I suggest going with the newest version of uncrustify, 0.82.0,
since were gonna update all things anyway, might as well use the newest
version.

Sister PRs citusdata/citus#8373
citusdata/tools#382
@naisila
Copy link
Copy Markdown
Contributor Author

naisila commented Dec 11, 2025

https://github.com/citusdata/tools/actions/runs/20131145276
manually ran tests with 12.1.5

naisila added a commit to citusdata/citus that referenced this pull request Dec 11, 2025
This upgrade has changed some indentation levels, moved some
parameter names to the next line etc.
I also did some manual style changes to obey the 88-90 character per
line rule and avoid commas or semicolons in a new line.

Sister PRs citusdata/tools#382
citusdata/the-process#179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants